package com.huawei.java.pojo;

/**
 * 节点类
 * @author 金昊霖
 */
public final class Node {
    /**
     * 剩余内核数
     */
    private int surplusCores;

    /**
     * 剩余内存数
     */
    private int surplusMemory;


    public Node(Integer surplusCores, Integer surplusMemory) {
        this.surplusCores = surplusCores;
        this.surplusMemory = surplusMemory;
    }

    public int getSurplusCores() {
        return surplusCores;
    }

    public int getSurplusMemory() {
        return surplusMemory;
    }

    public void setSurplusCores(Integer surplusCores) {
        this.surplusCores = surplusCores;
    }

    public void setSurplusMemory(Integer surplusMemory) {
        this.surplusMemory = surplusMemory;
    }
}
